<html>
    <head>
        <title>Test :: Layouts</title>
        <link rel="shortcut icon" href="https://informatics-apps.systemsbiology.net/addama/ui/isbfavicon.ico" type="image/x-icon"/>

        <link rel="stylesheet" type="text/css" href="https://informatics-apps.systemsbiology.net/ext-js-3.4.0/resources/css/ext-all.css"/>
        <link rel="stylesheet" type="text/css" href="https://informatics-apps.systemsbiology.net/ext-js-3.4.0/examples/shared/examples.css"/>
        <link rel="stylesheet" type="text/css" href="https://informatics-apps.systemsbiology.net/ext-js-3.4.0/resources/css/xtheme-gray.css"/>
        <link rel="stylesheet" type="text/css" href="https://addama.googlecode.com/hg/gae-svcs/addama-registry/src/main/webapp/css/stylesheet.css"/>

        <script type="text/javascript" src="https://informatics-apps.systemsbiology.net/ext-js-3.4.0/adapter/ext/ext-base.js"></script>
        <script type="text/javascript" src="https://informatics-apps.systemsbiology.net/ext-js-3.4.0/ext-all.js"></script>

        <script type="text/javascript" src="https://addama.googlecode.com/hg/gae-svcs/addama-registry/src/main/webapp/js/utils.js"></script>
        <script type="text/javascript" src="https://addama.googlecode.com/hg/gae-svcs/addama-registry/src/main/webapp/js/widgets.js"></script>

        <script type="text/javascript" src="js/history.js"></script>
        <script type="text/javascript" src="js/views.js"></script>
        <script type="text/javascript">
            Ext.onReady(function() {
                var history = new org.cancerregulome.molotov.js.History();
                var vp = new org.cancerregulome.molotov.js.Viewport({ history: history });
                vp.refreshUIBtn.on("click", function() {
                    var data = [];
                    for (var i = 100; i < 1000; i+=100) {
                        data.push(["" + i, "/uri/" + i, "DONE", i, "some error here", "SELECT * FROM THIS WHERE THAT GROUP BY THOSE AND ORDER BY THESE", "TABLEID", "[chr,10000,20000,0.00001]"]);
                    }
                    vp.pastQueriesStore.loadData(data);
                });
            });
        </script>
    </head>
    <body>
    </body>
</html>